package avriServer.obj;


import avriServer.server.Dispatcher;

public class Cleaner extends Thread {
	@Override
	public void run () {
		while (true) {
			try {
				Thread.sleep(Dispatcher.getServer().getKeepAlive()) ;
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
			Dispatcher.clean ();
		}
	}

}
